#include <linux/types.h>
#include <linux/fs.h>
#include <linux/cdev.h>

#define MA 253
#define MI 0


int mymod_open(struct inode *i, struct file *f);
ssize_t mymod_read(struct file *f, char __user* buffer, size_t s, loff_t* off);
int mymod_ioctl(struct inode *i, struct file *f, unsigned int arg1,unsigned long arg2);
int mymod_release(struct inode *i, struct file *f);

struct file_operations mymod_fops={
  owner: THIS_MODULE,
  read: mymod_read,
  ioctl: mymod_ioctl,
  open: mymod_open,
  release: mymod_release,
};

int reset_all(void);
